@import "foundation","normalize", "mixins";

html, body{
    height: 100%;
}
body{font-family: 'Open Sans', sans-serif;}
h1, h2, h3{font-family: 'PT Serif', serif;font-size: 2.5em;}
h4{font-size: 1.125em; font-weight: bold;}
p{line-height: 1.875;}

/* NAV */
.top-nav{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin-top: -300px;
    z-index: 100;
    background-color: #444;
    @include boxSizing(content-box);
    @include transition(0.5s);
    
    .brand{
        display: none;
        float: left;
    }
    .nav-menu{
        margin: 0;
        list-style: none;
        li{
            border-bottom: 1px solid #666;
        }
        a{
            display: block;
            height: 49px;
            line-height: 49px;
            padding: 0 15px;
            color: #FFF;
            font-weight: 300;
            text-align: center;
            @include transition(0.3s);
            
            &:hover{
                color: #999;
            }
            &.brand-small{
                text-align: center;
                img{
                    height: 39px;
                    width: auto;
                }
            }
        }
    }
    #toggle-menu{
        display: block;
        text-align: center;
        color: #FFF;
        height: 50px;
        line-height: 50px;
        font-size: 1.375em;
        @include transition(0.3s);
        &:hover{
            color: #999;
        }
    }
    &.index{
        background-color: transparent;
    }
    &.active{
        background-color: #444;
    }
    &.open{
        margin-top: 0;
        background-color: #444;
    }
    
    & + [role="contentinfo"]{
        margin-top: 50px;
    }
}


/*BANNERS*/
section[role="banner"]{
    width: 100%;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    text-align: center;
    @include transition(0.5s, height);
    
    .center{
        @include verticalAlign();
    }
    
    /*MAIN BANNER*/
    &.main-banner{
        height: 500px;
        background-image: url('../../img/new-york-city-wallpaper.jpg'); 
        background-position: 50% 70%;
        filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../../img/new-york-city-wallpaper.jpg', sizingMethod='scale');
        -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../../img/new-york-city-wallpaper.jpg', sizingMethod='scale')";
        
        /* BRAND IN PHONE*/
        .brand-small{
            display: block;
            position: absolute;
            top: 80px;
            left: 50%;
            margin-left: -75px;
            
            img{
                width: 150px;
                height: auto;
            }
        }
    }
    /*SECONDARY BANNER*/
    &.secondary-banner{
        height: 230px;
        background-image: url('../../img/miami.jpg'); 
        background-position: 50% 70%;
        filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../../img/miami.jpg', sizingMethod='scale');
        -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../../img/miami.jpg', sizingMethod='scale')";
        h3 {
            padding-top: 0px;
        }
    }
    /* TITULAR BANNER */
    h3{
        font-family: 'PT Serif', serif;
        color: #fff;
        font-size: 1.5em;
        max-width: 720px;
        width: 100%;
        margin: 0 auto;
        padding: 170px 30px 0;
        text-shadow: 0px 3px 3px rgba(0, 0, 0, 0.4);
    }
    
}

/*NEWS TICKER*/
.news-ticker{
    width: 100%;
    height: 60px;
    background-color: #FAFAFA;
    border-top: 1px solid #EEEEEE;
    border-bottom: 1px solid #EEEEEE;
}
.marquee {
    width: 100%;
    overflow: hidden;
    .item {
        display: inline-block;
        height: 60px;
        line-height: 60px;
        font-size: 14px;
    }
    [class*="widget-"]:not(:first-child) {
        margin-left: 20px;
    }
}

/*RECENT NEWS*/
.recent-news{
    background-color: #F6F6F6;
    padding: 45px 0;
    h3{
        text-align: center;
        color: #444444;
        font-weight: 700;
        margin: 0;
        padding: 15px 0;
    }
    .news-box{
        margin: 35px 0;
        
        img{width: 100%;height: auto;}
        .news-container{
            background-color: #FFF;
            padding: 20px;
            .news-title{
                font-family: 'PT Serif', serif;
                font-size: 1em;font-weight: 700;margin-bottom: 5px;
                a{color: #000; &:hover{color: #999;}}
            }
            .news-date{font-size: 0.75em;color: #999;margin-bottom: 20px;}
            .news-extract{font-size: 0.875em;}
            .news-link{color: #0078a0;margin: 0;font-size: 0.875em;&:hover{text-decoration: underline;}}
        }
    }
}

/*FOOTER*/
footer{
    width: 100%;
    padding: 25px 0;
    border-top: 1px solid #DDD;
    nav{
        position: relative;
        margin: 10px auto 15px;
        text-align: center;
        a{
            padding: 0 5px;
            color: #444;
            font-size: 0.875em;
            &:hover{color: #00468C;text-decoration: underline;}
        }
    }
    p{font-size: 0.6875em;text-align: center;margin: 0;}
}

/* BLUE BUTTON */
.blue-button{
    display: block;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    width: 250px;
    height: 40px;
    line-height: 40px;
    background-color: #00468C;
    color: #FFF;
    font-weight: bold !important;
    font-size: 1.125em;
    padding: 0;
    text-align: center;
    @include borderRadius(6px);
    @include transition(0.3s, background-color);
    
    &:hover{
        color: #FFF;
        background-color: #0053a6;
        // background-color: #0060bf;
    }
}

/* WHITE BUTTON */
.white-button{
    display: block;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #DDD;
    width: 250px;
    height: 38px;
    line-height: 38px;
    background-color: #FFF;
    color: #444;
    font-weight: 600 !important;
    font-size: 0.875em;
    padding: 0;
    text-align: center;
    @include borderRadius(6px);
    @include transition(0.3s, background-color);
    
    &:hover{
        color: #FFF;
        background-color: #0053a6;
        // background-color: #0060bf;
        border-color: #FFF;
    }
}

/* MAIN SECTIONS */
.main-section{
    padding: 45px 0;
    h2{
        text-align: center;
        color: #444444;
        font-weight: 700;
        margin: 0 0 40px;
        padding: 15px 0;
    }
    &.index{
        text-align: center;
        padding: 90px 0;
    }
}

/*OUR TEAM*/
.about-murex{
    .person-box{
        /*margin: 35px 0;*/
        
        .img-container{
            position: relative;
            margin-bottom: 15px;
            .img-hover{
                position: absolute;
                top: 0;
                bottom: 0;
                left: 0;
                right: 0;
                z-index: 2;
                @include transition(0.5s, background-color);
            }
            img{
                width: 100%;
                height: auto;
            }
            &:hover .img-hover{
                background-color: rgba(0,0,0,0.2);
            }
        }
        p{}
        h4{font-size: 1em;font-weight: 800;margin-bottom: 0;}
        .staff-position{font-size: 0.875em;margin-bottom: 10px;}
        .staff-bio{font-size: 0.875em;}
    }
}

/*CONTACT US*/
.contact-us{
    [id*="map-"]{
        margin-bottom: 20px;
    }
    .location{
        font-weight: bold;
        margin-bottom: 5px;
    }
    .mail{
        float: right;
        line-height: 25px;
        margin-top: 3px;
    }
    .contact-form{
        textarea{
            height: 120px;
            resize: none;
        }
        input, textarea{
            margin-bottom: 26px;
        }
        .error{
            input, textarea{
                margin-bottom: 0;
            }
        }
        label{
            margin-top: 10px;
        }
        small.error{
            margin-bottom: 0;
        }
    }
    .done{
        display: none;
    }
}

/* PRODUCTS */
.products{
    ul{
        margin-bottom: 0;
    }
    .m-bottom{
        margin-bottom: 30px;
    }
}

/*ARTICLES*/
.article-date{font-size: 0.875em;}
.article-author{font-weight: 700;}

/*NEW ACCOUNT*/
#new-account{
    .a-title{font-size: 0.875em;font-weight: 700;}
    li{font-size: 14px;}
    li>a{
        font-size: 14px;
        color: #0078a0;
        &:hover{
            text-decoration: underline;
        }
    }
    i{
        font-size: 0.875em;
        margin-left: 5px;    
    }
}

@import "medias";